
#ifndef _LT2911R_COMMON_H
#define _LT2911R_COMMON_H

/////////////////////////////////////////////////////////
#include "lt2911.h"

/////////////////////////////////////////
extern void LT2911R_ChipID(void);
extern void LT2911R_SystemInit(void);
extern void LT2911R_DdrInit(void);
extern void LT2911R_PiAuto(void);
extern void LT2911R_Retimer(struct video_timing *video_format);
extern void LT2911R_VpPro(struct video_timing *video_format);
extern void LT2911R_CscCfg(struct video_timing *video_format, u8 input_color_space, u8 output_color_space);
extern void LT2911R_AutoVideoCfg(struct video_timing *input_video_format,
				 struct video_timing *panel_video_format,
				 struct video_timing *output_video_format);
extern void LT2911R_InterruptEnable(u8 irq, bool on);
extern bool LT2911R_VpInputVideoStable(struct video_timing *video_format);
extern bool LT2911R_VpOutputVideoStable(struct video_timing *video_format);
extern bool LT2911R_DdrFifoStatusChecked(void);
extern void LT2911R_Patten(struct video_timing *video_format);
extern void LT2911R_DDR_GPIO_Debug(void);

extern void LT2911R_VpReset(void);

#endif